import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'

import Dept from '../views/dept/Dept.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
	{
		path: '/dept',
		name: 'Dept',
		component: Dept
	}
]

const router = new VueRouter({
  routes
})

export default router
